package com.qiyebox.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qiyebox.common.annotation.Excel;
import com.qiyebox.common.core.domain.BaseEntity;

/**
 * 会议字幕详情对象 text_detail
 * 
 * @author qiyebox
 * @date 2025-02-14
 */
public class TextDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 字幕内容 */
    @Excel(name = "字幕内容")
    private String content;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 会议字幕ID */
    @Excel(name = "会议字幕ID")
    private Long meetingTextId;

    /** 类型 1:原始 2:转写 3:归档 */
    @Excel(name = "类型 1:原始 2:转写 3:归档")
    private Long type;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }

    public void setMeetingTextId(Long meetingTextId) 
    {
        this.meetingTextId = meetingTextId;
    }

    public Long getMeetingTextId() 
    {
        return meetingTextId;
    }

    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("content", getContent())
            .append("createAt", getCreateAt())
            .append("createBy", getCreateBy())
            .append("meetingTextId", getMeetingTextId())
            .append("type", getType())
            .toString();
    }
}
